package model.com;

import java.io.File;
import java.io.Serializable;

import android.os.Environment;

public class SeasonInfo implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int season_id;
	private String season_title;
	private int season_count;
	private String season_info;
	private String pic_url;
	private String pic_name;
	private int pic_size;
	private String image_url;
	private String image_name;
	private int image_size;
	private String pic_localUrl;
	private String image_localUrl;
	private String season_sort;
	
	public String getSeason_sort() {
		return season_sort;
	}
	public void setSeason_sort(String season_sort) {
		this.season_sort = season_sort;
	}

	public SeasonInfo(int season_id, String season_title, int season_count,
			String season_info, String pic_url, String pic_name, int pic_size,
			String image_url, String image_name, int image_size,
			String pic_localUrl, String image_localUrl, String season_sort) {
		super();
		this.season_id = season_id;
		this.season_title = season_title;
		this.season_count = season_count;
		this.season_info = season_info;
		this.pic_url = pic_url;
		this.pic_name = pic_name;
		this.pic_size = pic_size;
		this.image_url = image_url;
		this.image_name = image_name;
		this.image_size = image_size;
		this.pic_localUrl = pic_localUrl;
		this.image_localUrl = image_localUrl;
		this.season_sort = season_sort;
	}
	public SeasonInfo() {
		super();
	}
	
	public void setPic_localUrl(String pic_localUrl) {
		this.pic_localUrl = pic_localUrl;
	}
	public void setImage_localUrl(String image_localUrl) {
		this.image_localUrl = image_localUrl;
	}
	public String getPic_localUrl() {
		return pic_localUrl;
	}
	public String getImage_localUrl() {
		return image_localUrl;
	}
	public int getSeason_id() {
		return season_id;
	}
	public void setSeason_id(int season_id) {
		this.season_id = season_id;
	}
	public String getSeason_title() {
		return season_title;
	}
	public void setSeason_title(String season_title) {
		this.season_title = season_title;
	}
	public int getSeason_count() {
		return season_count;
	}
	public void setSeason_count(int season_count) {
		this.season_count = season_count;
	}
	public String getSeason_info() {
		return season_info;
	}
	public void setSeason_info(String season_info) {
		this.season_info = season_info;
	}
	public String getPic_url() {
		return pic_url;
	}
	public void setPic_url(String pic_url) {
		this.pic_url = pic_url;
	}
	public String getPic_name() {
		return pic_name;
	}
	public void setPic_name(String pic_name) {
		this.pic_name = pic_name;
	}
	public int getPic_size() {
		return pic_size;
	}
	public void setPic_size(int pic_size) {
		this.pic_size = pic_size;
	}
	public String getImage_url() {
		return image_url;
	}
	public void setImage_url(String image_url) {
		this.image_url = image_url;
	}
	public String getImage_name() {
		return image_name;
	}
	public void setImage_name(String image_name) {
		this.image_name = image_name;
	}
	public int getImage_size() {
		return image_size;
	}
	public void setImage_size(int image_size) {
		this.image_size = image_size;
	}
	@Override
	public String toString() {
		return "SeasonInfo [season_id=" + season_id + ", season_title="
				+ season_title + ", season_count=" + season_count
				+ ", season_info=" + season_info + ", pic_url=" + pic_url
				+ ", pic_name=" + pic_name + ", pic_size=" + pic_size
				+ ", image_url=" + image_url + ", image_name=" + image_name
				+ ", image_size=" + image_size + ", pic_localUrl="
				+ pic_localUrl + ", image_localUrl=" + image_localUrl
				+ ", season_sort=" + season_sort + "]";
	}
	
	private String getImageFolderPath(){
		String SDCardRoot = Environment.getExternalStorageDirectory().getAbsolutePath();
		String path = SDCardRoot + File.separator + "MissPuff" + File.separator + "cache" + File.separator;
		return path;
	}

}
